package com.athuahua.spzx.service;

import com.athuahua.spzx.entity.Category;
import com.athuahua.spzx.entity.vo.CategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author huahua
* @description 针对表【category(商品分类)】的数据库操作Service
* @createDate 2024-08-09 16:23:34
*/
public interface CategoryService extends IService<Category> {

    /**
     * 查询返回一级菜单
     * @return
     */
    List<Category> selectOneCategory();


    /**
     * 查询返回所有菜单树状图
     * @return
     */
    List<CategoryVo> findCategoryTree();
}
